﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace IDE_week2
{
    
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button2_Click(object sender, EventArgs e)
        {
            Form2 mynewform = new Form2();
            mynewform.Show();
            MessageBox.Show("dude! don't!");
        }

        private void button1_Click(object sender, EventArgs e)
        {
            
            this.Icon = Properties.Resources.Icon1;
            MessageBox.Show("dude! don't!");

        }

        private void button4_Click(object sender, EventArgs e)
        {
            this.Icon = null;
            MessageBox.Show("dude! don't!");


        }

        private void button3_Click(object sender, EventArgs e)
        {
            MessageBox.Show("dude! don't!");
            
            int[] numbers = new int[10];
            Class1.MakeRandomNumber(numbers);
            label1.Text = numbers[0] + ", " + numbers[1] + ", " + numbers[2];
            

        }

        private void button5_Click(object sender, EventArgs e)
        {
            MessageBox.Show("dude! don't!");
        }
    }
}
